07b4d58b7260d74ed79f307bcff01584a0e38c1f,RegExpSupport/src/org/intellij/lang/regexp/psi/impl/RegExpGroupImpl.java,RegExpGroupImpl,isCapturing,#,35

Before Change



  public boolean isCapturing() {
    final ASTNode node = getNode().getFirstChildNode();
    return node != null && node.getElementType() == RegExpTT.GROUP_BEGIN;
  }

  public boolean isSimple() {

After Change


    if (node == null) {
      return false;
    }
    final IElementType type = node.getElementType();
    return type == RegExpTT.GROUP_BEGIN || type == RegExpTT.RUBY_NAMED_GROUP ||
           type == RegExpTT.RUBY_QUOTED_NAMED_GROUP || type == RegExpTT.PYTHON_NAMED_GROUP;
  }

  public boolean isSimple() {